package com.example.shixi.domain;

import java.util.Date;

public class BlogArticle {
    private Long id;

    private String articlePic;

    private String articleName;

    private String articleTag;

    private String articleRemark;

    private Integer articleReadCount;

    private Integer articleState;

    private Long userId;

    private Date updateTime;

    private Long articleType;

    private Integer articleStarNum;

    private Integer articleCommentNum;

    private Integer topState;

    private String articleContent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getArticlePic() {
        return articlePic;
    }

    public void setArticlePic(String articlePic) {
        this.articlePic = articlePic;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getArticleTag() {
        return articleTag;
    }

    public void setArticleTag(String articleTag) {
        this.articleTag = articleTag;
    }

    public String getArticleRemark() {
        return articleRemark;
    }

    public void setArticleRemark(String articleRemark) {
        this.articleRemark = articleRemark;
    }

    public Integer getArticleReadCount() {
        return articleReadCount;
    }

    public void setArticleReadCount(Integer articleReadCount) {
        this.articleReadCount = articleReadCount;
    }

    public Integer getArticleState() {
        return articleState;
    }

    public void setArticleState(Integer articleState) {
        this.articleState = articleState;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getArticleType() {
        return articleType;
    }

    public void setArticleType(Long articleType) {
        this.articleType = articleType;
    }

    public Integer getArticleStarNum() {
        return articleStarNum;
    }

    public void setArticleStarNum(Integer articleStarNum) {
        this.articleStarNum = articleStarNum;
    }

    public Integer getArticleCommentNum() {
        return articleCommentNum;
    }

    public void setArticleCommentNum(Integer articleCommentNum) {
        this.articleCommentNum = articleCommentNum;
    }

    public Integer getTopState() {
        return topState;
    }

    public void setTopState(Integer topState) {
        this.topState = topState;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", articlePic=").append(articlePic);
        sb.append(", articleName=").append(articleName);
        sb.append(", articleTag=").append(articleTag);
        sb.append(", articleRemark=").append(articleRemark);
        sb.append(", articleReadCount=").append(articleReadCount);
        sb.append(", articleState=").append(articleState);
        sb.append(", userId=").append(userId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", articleType=").append(articleType);
        sb.append(", articleStarNum=").append(articleStarNum);
        sb.append(", articleCommentNum=").append(articleCommentNum);
        sb.append(", topState=").append(topState);
        sb.append(", articleContent=").append(articleContent);
        sb.append("]");
        return sb.toString();
    }
}